﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterIntranet_Uno.master" AutoEventWireup="false" CodeFile="IntraMantemientosMenu.aspx.vb" Inherits="MantemientosMenu" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

        <%--<link href="css/Callout.css" rel="stylesheet" type="text/css" /> --%>
        <link href="css/tab.css" rel="stylesheet" type="text/css" />
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
      <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
         <style type="text/css">
              .label1_bordeabajo2{
	                BORDER-BOTTOM: #1E365A 1px solid;
	                FONT-WEIGHT:bold; 
	                FONT-SIZE: 12px; 
	                COLOR: #383A3E; 
	                FONT-FAMILY:Verdana, Arial, Helvetica, sans-serif; 
	                PADDING:3px;
	                background-color:#F1F3F3 
                }
                
                .contenido {
	                FONT-SIZE: 11px; 
	                COLOR: #000000; 
	                text-align:left;
	                vertical-align:middle;
	                FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
                }
                
                   .contenidoBlanco {
	                FONT-SIZE: 11px; 
	                COLOR: white; 
	                text-align:left;
	                vertical-align:middle;
	                FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
                }

                .contenidoSubtitulo {
	                FONT-SIZE: 13px; 
	                COLOR: #000000; 
	                text-align:right;
	                FONT-WEIGHT: bold; 
	                FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
                }

                .contenido2 {
	                FONT-SIZE: 12px; 
	                COLOR: #000000; 
	                FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
	                text-align:right;
	                FONT-WEIGHT:normal; 
                }
                .botonNormal{
	                cursor:hand;
	                FONT-WEIGHT: normal; 
	                FONT-SIZE: 11px; 
	                COLOR: #333333; 
	                BORDER-LEFT: #AAABB4 1px solid; 
	                BORDER-BOTTOM: #AAABB4 1px solid; 
	                BORDER-RIGHT:  #AAABB4 1px solid; 
	                BORDER-TOP:   #AAABB4 1px solid;
	                FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; 
	                BACKGROUND-COLOR: #EEEEEE; 
	                PADDING:1px; 
	                TEXT-ALIGN:center;
                    }
                    .botonNormalGrande {
	                    border: 1px solid #b2b2b2;
	                    padding: 3px 1px;
	                    BACKGROUND: #f4f4f4; 
	                    MARGIN: 1px; 
	                    FONT: 13px Verdana, Arial, Helvetica, sans-serif; 
	                    COLOR: #000;
	                    cursor:hand;
	                    height: 30px;
                    }
            
         </style>
         <script language="javascript" type="text/javascript"  >

             $(document).ready(function () {
                 $("#tabs").tabs();
                 $('#tabs').tabs('select', 0);

                 //$("#tabs").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 4000);
                 $("#tabs").tabs({ fx: { opacity: "toggle"} });
             });

             // --------------------------------

             $(document).ready(function () {
                 $("#tabs").tabs();
                 $('#tabs').tabs('select', 0);

                 //$("#tabs").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 4000);
                 $("#tabs").tabs({ fx: { opacity: "toggle"} });
             });



             function MostrarTooltip(idObject) {

                 var obj = document.getElementById(idObject);

                 document.getElementById("tooltip").innerHTML = obj.options[obj.selectedIndex].text;

                 if (obj.options[obj.selectedIndex].value != "") {
                     //Formato Tooltip 
                     document.getElementById("tooltip").style.zIndex = 9999999;
                     document.getElementById("tooltip").style.display = "inline";
                     document.getElementById("tooltip").style.position = "absolute";
                     document.getElementById("tooltip").style.border = "ActiveBorder  1px	solid";
                     document.getElementById("tooltip").style.padding = "3px";
                     document.getElementById("tooltip").style.fontSize = "10px";
                     document.getElementById("tooltip").style.fontFamily = "Verdana";
                     document.getElementById("tooltip").style.backgroundColor = "LemonChiffon";
                     document.getElementById("tooltip").style.top = event.y + 10 + "px";
                     document.getElementById("tooltip").style.left = 5 + event.x;
                 }
             }

             // ---------------------------------

             function OcultarTooltip() {
                 document.getElementById("tooltip").style.display = "none";
             }

             $("#hidr").click(function () {
                 $("span:last-child").hide("fast", function () {
                     // use callee so don't have to name the function
                     $(this).prev().hide("fast", arguments.callee);
                 });
             });
             $("#showr").click(function () {
                 $("span").show(2000);
             });
  
  </script>

    <%--DESARROLLO DEL DISEÑO--%>

      <table style="width:100%; text-align:center;" >
        <tr>
            <td style="width:6%;"></td>
            <td style="width:10%;"></td>
            <td style="width:24%;"></td>
            <td style="width:10%;"></td>
            <td style="width:24%;"></td>
            <td style="width:20%;"></td>
            <td style="width:6%;"></td>
        </tr>
        <tr>
            <td></td>
            <td colspan="5">
                 <div style="width:100%;" >
        
        <div id="tabs" style="width:99%;float:left;" >
            
            <ul style="width:99%;" >
                <li>
                    <a href="#fragment-1">
                        Equipos
                    </a></li>
                <li>
                    <a href="#fragment-2">
                        <span>Modelo</span>
                    </a>
                </li>
                <li>
                    <a href="#fragment-3">
                        <span>Tipo Cambio</span>
                    </a>
                </li>
            </ul>
            
            <div id="tooltip" ></div>
            
            <!-- ===== INICIO TAB1 =======================================================  -->
             <asp:UpdatePanel ID="upTab1" runat ="server" UpdateMode ="Conditional" >   
                    <ContentTemplate >
                 <div id="fragment-1" style="float:left;width:100%;" >

                        <div style="float:left;width:100%;" >
                            <table width="99%">
                                 <tr>
                                    <td class="label1_bordeabajo2" > Mantenimiento de equipos </td>
                                </tr>
                            </table>

                            <fieldset>
                                <legend> <asp:Label ID="lblBusqueda" runat="server" Text="Equipos"  CssClass="contenido"></asp:Label>
                                </legend>
                                 <table style="width:100%; text-align:center;" >
                                        <tr>
                                            <td style="width:6%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:20%;"></td>
                                            <td style="width:6%;"></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label1" runat="server" Text="Codigo: " CssClass="contenido"></asp:Label></td>
                                            <td align="left"> <asp:Label ID="lblCodigo" runat="server" Text=" " CssClass="contenido"> </asp:Label> </td>
                                            <td align="left" colspan="2"> <asp:Button  ID="btnNuevo" runat="server" Text="Nuevo" CssClass="botonNormal" Width="60%"/> 
                                                &nbsp;&nbsp; 
                                             <asp:ImageButton  ID="btnActualizar" runat="server"  
                                                    ImageUrl="~/Imagenes/retornar.jpg" Visible="false"/> </td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label2" runat="server" Text="Marca: " CssClass="contenido"></asp:Label></td>
                                            <td align="left"> <asp:DropDownList ID="CboMarca" runat="server" Width="60%" CssClass="contenido"></asp:DropDownList> </td>
                                            <td align="left" colspan="2"> </td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label3" runat="server" Text="Descripcion: " CssClass="contenido"></asp:Label></td>
                                            <td align="left"> <asp:TextBox ID="txtDescripcion" runat="server" CssClass="contenido" Width="60%"></asp:TextBox> </td>
                                            <td align="left" colspan="2"> </td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label4" runat="server" Text="Precio: " CssClass="contenido"></asp:Label></td>
                                            <td align="left"> <asp:TextBox ID="txtPrecio" runat="server" CssClass="contenido" Width="60%"></asp:TextBox> </td>
                                            <td align="left" colspan="2"> </td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label5" runat="server" Text="Imagen: " CssClass="contenido"></asp:Label></td>
                                            <td align="left" colspan="3"> 
                                                <asp:AsyncFileUpload ID="fileImagen" runat="server" Width="80%"  CssClass="contenido"/>
                                                </td>
                                          
                                            <td></td>
                                            <td></td>
                                        </tr>

                                 </table>
                            </fieldset>
                            
                              <table style="width:100%; text-align:center;" >
                                        <tr>
                                            <td style="width:6%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:20%;"></td>
                                            <td style="width:6%;"></td>
                                        </tr>

                                        <tr>
                                            <td colspan="7">
                                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                                    AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" 
                                                    BorderStyle="Solid" BorderWidth="1px" CellPadding="3" CssClass="contenido" 
                                                    ForeColor="Black" GridLines="Vertical" Width="99%">
                                                    <AlternatingRowStyle BackColor="#CCCCCC" />
                                                    <Columns>
                                                        <asp:CommandField SelectText="Seleccione" ShowSelectButton="True" />
                                                        <asp:CommandField DeleteText="Eliminar" ShowDeleteButton="True" />
                                                        <asp:BoundField DataField="Cod" HeaderText="Cod_equipo" Visible="false" />
                                                        <asp:BoundField DataField="cod_Marca" HeaderText="cod_Marca" Visible="false" />
                                                        <asp:BoundField DataField="Marca" HeaderText="Marca" />
                                                        <asp:BoundField DataField="desc" HeaderText="Descripcion" />
                                                        <asp:BoundField DataField="precio" DataFormatString="{0:C}" 
                                                            HeaderText="Precio" />
                                                    </Columns>
                                                    <FooterStyle BackColor="#CCCCCC" />
                                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                                    <PagerStyle BackColor="#999999" CssClass="contenido" ForeColor="Black" 
                                                        HorizontalAlign="Center" />
                                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                                    <SortedAscendingHeaderStyle BackColor="#808080" />
                                                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                                    <SortedDescendingHeaderStyle BackColor="#383838" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                              </table>

                        </div>
           
                 </div>
                 </ContentTemplate>
            </asp:UpdatePanel>
            <!-- ===== FIN TAB1 =========================================================  -->
                        
            <!-- ===== INICIO TAB2 =======================================================  -->

             <asp:UpdatePanel ID="upTab2" runat ="server" UpdateMode ="Conditional" >   
                    <ContentTemplate >
            <div id="fragment-2" style="float:left;width:100%;" >
  
                       <div style="float:left;width:100%;" >

                   <div style="float:left;width:100%;" >
                            <table width="99%">
                                 <tr>
                                    <td class="label1_bordeabajo2" > Mantenimiento de Modelo </td>
                                </tr>
                            </table>

                            <fieldset>
                                <legend> <asp:Label ID="Label6" runat="server" Text="Modelo"  CssClass="contenido"></asp:Label>
                                </legend>
                                 <table style="width:100%; text-align:center;" >
                                        <tr>
                                            <td style="width:6%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:20%;"></td>
                                            <td style="width:6%;"></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label7" runat="server" Text="Codigo: " CssClass="contenido"></asp:Label></td>
                                            <td align="left"> <asp:Label ID="lblCodModelo" runat="server" Text=" " CssClass="contenido"> </asp:Label> </td>
                                            <td align="left" colspan="2"> <asp:Button  ID="btnNuevoModelo" runat="server" Text="Nuevo" CssClass="botonNormal" Width="60%"/> 
                                                &nbsp;&nbsp; 
                                             <asp:ImageButton  ID="imgActualizarModelo" runat="server"  
                                                    ImageUrl="~/Imagenes/retornar.jpg" Visible="false"/> </td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><asp:Label ID="Label9" runat="server" Text="Marca: " CssClass="contenido"></asp:Label></td>
                                            <td align="left"> <asp:TextBox ID="txtModelo" runat="server" CssClass="contenido"></asp:TextBox> </td>
                                            <td align="left" colspan="2"> </td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                 </table>
                            </fieldset>
                            
                              <table style="width:100%; text-align:center;" >
                                        <tr>
                                            <td style="width:6%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:10%;"></td>
                                            <td style="width:24%;"></td>
                                            <td style="width:20%;"></td>
                                            <td style="width:6%;"></td>
                                        </tr>

                                        <tr>
                                            <td colspan="7">
                                                <asp:GridView ID="GrvModelo" runat="server" AllowPaging="True" 
                                                    AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" 
                                                    BorderStyle="Solid" BorderWidth="1px" CellPadding="3" CssClass="contenido" 
                                                    ForeColor="Black" GridLines="Vertical" Width="99%">
                                                    <AlternatingRowStyle BackColor="#CCCCCC" />
                                                    <Columns>
                                                        <asp:CommandField SelectText="Seleccione" ShowSelectButton="True" />
                                                        <asp:CommandField DeleteText="Eliminar" ShowDeleteButton="True" />
                                                        <asp:BoundField DataField="cod_marca" HeaderText="Codigo"  />
                                                        <asp:BoundField DataField="desc" HeaderText="Descripcion"  />
                                                    </Columns>
                                                    <FooterStyle BackColor="#CCCCCC" />
                                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                                    <PagerStyle BackColor="#999999" CssClass="contenido" ForeColor="Black" 
                                                        HorizontalAlign="Center" />
                                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                                    <SortedAscendingHeaderStyle BackColor="#808080" />
                                                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                                    <SortedDescendingHeaderStyle BackColor="#383838" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                              </table>

                        </div>
            <!-- ===== FIN TAB2 =========================================================  -->
    
             </div>
          </div>
          </ContentTemplate>
          </asp:UpdatePanel>

           <!-- ===== FIN TAB2 =========================================================  -->
                        
            <!-- ===== INICIO TAB3 =======================================================  -->
                <div id="fragment-3" style="float:left;width:100%;" >

                        <div style="float:left;width:100%;" >

                        Pagina en construccion!!!!!

                        </div>
                </div>

            </td>
            <td></td>
        </tr>
    </table>

</asp:Content>

